import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose';
import { Document } from 'mongoose';

export type EpgDocument = Epg & Document;

@Schema()
export class Epg extends Document {
  @Prop()
  id: number;

  @Prop()
  pathName: string;

  @Prop()
  pathAddress: string;

  @Prop()
  createTime: string;
}

export const EpgSchema = SchemaFactory.createForClass(Epg);
